Skip to content

Conversation

@Lms24
Copy link
Member

@Lms24 Lms24 commented Oct 15, 2024

This PR removes the negative margin from the changed lines in the diff view to fix the vertical alignment of the changed and unchanged lines I noticed in #11568.

I'm not sure if this is the best way to fix this so please feel free to close the PR in favour of a better solution! Especially because it seems like we added the negative margin specifically to fix formatting previously in https://github.com/getsentry/sentry-docs/pull/10996/files.

potentially fixes #11568

before:
image

after:
image

@vercel
Copy link

vercel bot commented Oct 15, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
changelog ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 15, 2024 8:04am
develop-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 15, 2024 8:04am
sentry-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 15, 2024 8:04am

@codecov
Copy link

codecov bot commented Oct 15, 2024

Bundle Report

Changes will decrease total bundle size by 99 bytes (-0.0%) ⬇️. This is within the configured threshold ✅

Detailed changes
Bundle name Size Change
sentry-docs-server-cjs 7.46MB 6 bytes (-0.0%) ⬇️
sentry-docs-edge-server-array-push 257.08kB 3 bytes (-0.0%) ⬇️
sentry-docs-client-array-push 6.43MB 90 bytes (-0.0%) ⬇️

@Lms24
Copy link
Member Author

Lms24 commented Oct 15, 2024

turns out this was caused by the specific code block language selection rather than a style bug. Closing this PR and will open another one in a sec

@Lms24 Lms24 closed this Oct 15, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Oct 31, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Lines in diff code block are shifted to the left

2 participants